package hk.m4s.lr.repair.test.ui.user;

import android.content.Context;
import android.os.Bundle;

import java.util.ArrayList;
import java.util.List;

import framework.common.baseui.UeBaseActivity;
import hk.m4s.lr.repair.test.R;
import hk.m4s.lr.repair.test.model.ShopModel;
import hk.m4s.lr.repair.test.ui.adapter.GoodsAdapter;
import hk.m4s.lr.repair.test.views.InnerGridView;


/**
 * Created by qi.wang on 2017/5/9.
 * 退货退款成功
 */

public class ReturnGoodsSucessActivity extends UeBaseActivity {
    private InnerGridView pay_money_gird;
    public static List<ShopModel.ListGoodsBean> likeList=new ArrayList<>();
    private GoodsAdapter goodsAdapter;
    private Context context;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        baseSetContentView(R.layout.activity_return_goods_sucess);
        hiddenFooter();
        setTitleText("退货详情");
        context=this;
        showGoBackBtn();
        findBaseView();
    }
    public void findBaseView(){
        pay_money_gird=(InnerGridView)findViewById(R.id.pay_money_gird);
        infos1();
    }
    public void infos1(){
        ShopModel.ListGoodsBean model2=new ShopModel.ListGoodsBean();
        model2.setGoods_name("休闲女套装春秋装");
        model2.setGoods_id("3");
        model2.setPrice("285");
        model2.setImages("http://img03.taobaocdn.com/bao/uploaded/i4/11946028003586766/T1RtB6FbtdXXXXXXXX_!!0-item_pic.jpg");
        ShopModel.ListGoodsBean model3=new ShopModel.ListGoodsBean();
        model3.setGoods_name("打底纱裙气质女装");
        model3.setGoods_id("4");
        model3.setPrice("105");
        model3.setImages("http://imgx.xiawu.com/xzimg/i4/i4/15797025456469425/T1QEVuFk4XXXXXXXXX_!!0-item_pic.jpg");
        likeList.add(model2);
        likeList.add(model3);
        goodsAdapter=new GoodsAdapter(context,likeList);
        pay_money_gird.setAdapter(goodsAdapter);
    }
}
